import request from '@/api/myRequest'
// 查询素材列表
function findMaterialByPage(start, limit) {
  return request({
    url: `/lejuAdmin/material/findMaterialByPage/${start}/${limit}`,
    method: 'get'
  })
}

// 删除素材
function delMaterial(id) {
  return request({
    url: `/lejuAdmin/material/delMaterial/${id}`,
    method: 'delete'
  })
}

export { findMaterialByPage, delMaterial }
